package com.woniuxy.java106crm.service;

import com.woniuxy.java106crm.entity.Plan;
import com.woniuxy.java106crm.request.ResPage;
import com.woniuxy.java106crm.vo.marketing.LeadsPlanVo;
import com.woniuxy.java106crm.vo.marketing.PlanVo;
import com.woniuxy.java106crm.vo.marketing.StartVo;

import java.util.List;

public interface PlanService {
    boolean addStartPlan(PlanVo planVo);

    List<StartVo> selectPlan(String uname);

    ResPage<List<Plan>> selectAll(Integer page, Integer size, PlanVo planVo);

    Plan findById(int id);

    boolean updateById(Plan plan);

    LeadsPlanVo selectLP(int id);

    boolean addAllPlan(Plan plan);

    boolean delPlanById(int id);
}
